package com.woniu.his.service;

import com.woniu.his.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TATO
 * @since 2019-11-25
 */
public interface IOperationInfoService extends IService<OperationInfo> {
    OperationDetailInfo getOperationInfoByOperationId(int operationId);
    List<OperationDetailInfo> getOperationInfoByMedicalId(Integer medicalId);
    List<OperationDetailInfo> getOperationInfoList();

    int deleteOperationInfoByOperationId(int operationId);

    int updateOperationPayByOperationId(int operationId,int isPay);

    int updateOperationActionByOperationId(int operationId,int isAction);

    int updateOperationInfoByOperationId(int medicalId,int operationId, String operationType, String operationName, int docterId, Date operationTime);


    OperationAllDetailInfo showPatientDetailByOperationId(int operationId,int medicalId);

    List<DrugInfo> getDrugInfo();

    List<EquipmentInfo> getEquipmentInfo();

    String addPayInfo(List<Map<String,Object>> payList);

    int updateOperationHandleByOperationId(int operationId, int isHandle);

    OperationPeopleInfo mainPageLoad();

    List<OperationDetailInfo> getOperationInfoByAction();
}
